Skip to content

[CI] Test Python 3.10–3.15 and fail on unexpected deprecations - #166

Open
michaelshin wants to merge 1 commit into
mainfrom
michaelshin/test-supported-python-versions
Open

michaelshin wants to merge 1 commit into
mainfrom
michaelshin/test-supported-python-versions

Conversation

@michaelshin

@michaelshin michaelshin commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The SDK declares Python >=3.10, but its test workflow only runs on 3.10. Add a 3.10–3.15 matrix, covering both the declared floor and the Python 3.11 publishing runtime. Disable fail-fast so failures on one interpreter do not hide results from the others.

Treat unexpected DeprecationWarning instances as test failures so version-specific deprecations cannot silently pass CI. Tests that explicitly expect deprecation warnings retain their existing pytest.warns assertions. Update checkout and setup-python to v6; leave lint/type checks and publishing on their existing single interpreters.

Validation: all six Python versions passed in the CI test matrix. All 151 sanity tests also passed locally on Python 3.12.11 with deprecation warnings treated as errors. Actionlint v1.7.12 and git diff --check passed.

Fixes #156.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Tests only run on Python 3.10 while the package supports 3.10+

1 participant